package cn.wizzer.app.user.modules.services;

import cn.wizzer.app.user.modules.models.UserAddress;
import cn.wizzer.framework.base.Result;
import cn.wizzer.framework.base.service.BaseService;
import cn.wizzer.framework.page.Pagination;

public interface UserAddressService extends BaseService<UserAddress> {

    Pagination listPage(Integer pageNumber, int pageSize, String userId);

    Result validate(UserAddress userAddress);

    void setDefault(String id, String appid);
}
